<template>
    <div class="content-wrapper">
    <div><Button type="primary" @click="createActivity">创建优惠券</Button></div> 
    <Search-input></Search-input>
    <Search-list></Search-list>
    <Page :total="40" show-elevator show-sizer show-total></Page>
    </div>
</template>

<script>
    import SearchInput from './component/SearchInput';
    import SearchList from './component/SearchList';
    export default {
        data(){
          return {};
        },
        components:{
          SearchInput,
          SearchList
        },
        methods:{
          createActivity(){
            this.$router.push({path:'/coupon/create'});
          }
        }
    }
</script>

<style scoped>
   .content-wrapper{
   	  padding:25px;
   }
   .search-title{
   	  margin-top:20px;
   }
</style>